//
//  KABSkinModel.h
//  kabu
//
//  Created by XiangDongMBP on 2017/4/7.
//  Copyright © 2017年 East. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <YYModel.h>

#pragma mark - 皮肤列表相关
@interface KABSkinClassItem : NSObject
@property (nonatomic, assign) NSInteger skin_id;       //!< "id"----@"skin_id" 皮肤包id
@property (nonatomic, copy)   NSString *cover_img_url; //!< 封面图片url
@property (nonatomic, copy)   NSString *name;          //!< 皮肤包名称
@property (nonatomic, assign) BOOL is_bought;          //!< 是否已经购买
//我使用过皮肤包才有
@property (nonatomic, copy)   NSString *order_id;      //!< 订单号
@end

@interface KABSkinClass : NSObject
@property (nonatomic, assign) NSInteger class_id;        //!< 类型id
@property (nonatomic, copy)   NSString *class_content;   //!< 类型
@property (nonatomic, assign) NSInteger total_rows;      //!< 总表情包数
@property (nonatomic, strong) NSMutableArray<KABSkinClassItem *> *skinpackage_list;//!< 返回6个以内
@property (nonatomic, readonly) BOOL totalLoad;
- (void)addMoreWithData:(KABSkinClass *)temp;
@end

@interface KABSkinHomepage : NSObject
@property (nonatomic, assign) NSInteger total_rows;      //!< 总分类数
@property (nonatomic, strong) NSMutableArray<KABSkinClass *> *skinpackage_class_list;

@property (nonatomic, readonly) BOOL totalLoad;
- (void)addMoreWithData:(KABSkinHomepage *)temp;
@end


#pragma mark - 皮肤详情
@interface KABSkinDetImgItem : NSObject
@property (nonatomic, assign) NSInteger img_id;            //!< "id"----@"img_id" 图片id
@property (nonatomic, copy)   NSString *introduce_img_url; //!< 类型
@end

@interface KABSkinDetail : NSObject
@property (nonatomic, assign) NSInteger skin_id;           //!< "id"----@"skin_id"皮肤包id
@property (nonatomic, copy)   NSString *cover_img_url;     //!< 封面图片url
@property (nonatomic, copy)   NSString *name;              //!< 皮肤包名称
@property (nonatomic, copy)   NSString *on_shelves_time;   //!< 上架时间
@property (nonatomic, assign) NSInteger original_price;    //!< 原价
@property (nonatomic, assign) NSInteger discounted_price;  //!< 优惠价
@property (nonatomic, copy)   NSString *source_url;        //!< 皮肤包源地址
@property (nonatomic, assign) NSInteger downloads;         //!< 下载次数
@property (nonatomic, copy)   NSString *introduce;         //!< 简介
@property (nonatomic, assign) BOOL is_bought;              //!< 是否已经购买
@property (nonatomic, strong) NSMutableArray<KABSkinDetImgItem *> *introduce_image_list;
@end


@interface KABSkinModel : NSObject
@end
